<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<load href="__PUBLIC__/Css/css.css" />
<title>帖子管理</title>
</head>

<body>
<div id="content">
	<ul>
	<foreach name='arr' item='data'>
		<li>
	  		<div class="ct">
				<div class="ct-top">
					<h3>帖子题目:</h3>
					<p class="p1">{$data.title}</p>
					<h3>帖子分类:</h3>
					<p class="p2">{$data.class}</p>
					<h3>发布人:</h3>
					<p class="p3">{$data.username}</p>
				</div>
				<div class="ct-md">
					<span>内容:</span><p>{$data.content}</p>
				</div>
				<div class="time-and-hot">
					<h3>发布时间:</h3><p class="p2">{$data.time|date='Y m d H:i:s',###}</p>
					<h3>点击量:</h3><p class="p2">{$data.read}</p>
				
				</div>
				<div class="ct-bt">
					<a href="__URL__/delete_tie/tid/{$data.tid}" class="bt">删除</a>
					<if condition="$data['ding'] neq 1">
					<a href="__URL__/zhiding/tid/{$data.tid}" class="bt">置顶</a>
					<else/><span class="bt">已置顶</span>
					</if>
					<if condition="$data['jing'] neq 1">
					<a href="__URL__/jiajing/tid/{$data.tid}" class="bt">加精</a>
					<else/><span class="bt">已加精</span>
					</if>
				</div>	
	
			</div>
		</li>
		</foreach>
	<center>{$show}</center>	
	
	
</div>



</body>
</html>
